package com.dha.caodangcongnghe;

import com.dha.asynctask.XemDiemAsyncTask;
import com.dha.asynctask.XemDiemTongKetAsyncTask;
import com.dha.variable.ThongTinTaiKhoan;
import com.dha.variable.XemDiemVariable;

import android.app.Activity;
import android.os.Bundle;
import android.widget.TextView;

public class XemDiemTongKet extends Activity {

	private TextView tvTenSinhVien, tvMaSinhVien;

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		// TODO Auto-generated method stub
		super.onCreate(savedInstanceState);
		setContentView(R.layout.layout_xemdiem_tongket);

		tvTenSinhVien = (TextView) findViewById(R.id.tv_tenSV_Diem);
		tvMaSinhVien = (TextView) findViewById(R.id.tv_MaSV_Diem);

		tvMaSinhVien.setText(ThongTinTaiKhoan.maTaiKhoan);
		tvTenSinhVien.setText(ThongTinTaiKhoan.hoTen);

		XemDiemTongKetAsyncTask asyncTask = new XemDiemTongKetAsyncTask(
				XemDiemTongKet.this, ThongTinTaiKhoan.maTaiKhoan);
		asyncTask.execute();
	}

}
